package demo016;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test {
    public static void main(String[] args) {
        ApplicationContext c = new AnnotationConfigApplicationContext(Spring0101.class);
        Pet bean = c.getBean(Pet.class);
        bean.ser();

    }
}
